<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="/derek-tags" prefix="dk" %>
<dk:WarPath/>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<TITLE>团队报表</TITLE>
<META http-equiv=Cache-Control content=no-store>
<META http-equiv=Pragma content=no-cache>
<META http-equiv=Expires content=0>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<META content="MSHTML 6.00.6000.17037" name=GENERATOR>

<link href="${_WarPath }/css/base.css" type="text/css" rel="stylesheet" />
<LINK href="${_WarPath }/css/account.css" type=text/css rel=stylesheet />
<LINK rel=stylesheet type=text/css href="${_WarPath }/css/jquery.alerts.css" media=screen />

<SCRIPT src="pay/jquery.min.js" type=text/javascript></SCRIPT>
<SCRIPT src="pay/global.js" type=text/javascript></SCRIPT>
<SCRIPT src="pay/jquery.alerts.js" type=text/javascript></SCRIPT>
<script language="JavaScript" type="text/javascript" src="/script/jquery-1.2.3.pack.js"></script>
<script type="text/javascript" src="/script/calendar/calendar.js"></script>
<script type="text/javascript" src="/script/calendar/calendar-en.js"></script>
<script type="text/javascript" src="/script/calendar/calendar-setup.js"></script>
<script type="text/javascript">
	var cDate = new Date(1970, 01,01,08,04,22);
	var sDate = new Date(1970, 01,01,08,00,00);
	function setDate(){
		cDate.setSeconds(cDate.getSeconds() - 1);
		if(cDate < sDate){
			document.getElementById("tbs").innerHTML = "可以输入查询条件";
		}else{
			var awayTimeString = '';
			var minutes = cDate.getUTCMinutes();
			if(minutes < 10){
				minutes = '0' + minutes.toString();
			}
			awayTimeString += minutes + "分";
			var seconds = cDate.getUTCSeconds();;
			if(seconds < 10){
				seconds = '0' + seconds.toString();
			}
			awayTimeString += seconds + "秒";
			document.getElementById("tbt").innerHTML = awayTimeString;
		}
	}
	window.setInterval("setDate()",1000);
	
	$('#setStartDate').ready(function(){
		setCalendrMix('bgnDate','imgBgnDate');
		setCalendrMax('endDate','imgEndDate');
	});
	
	function setCalendrMix(inputName,buttonId){
		Calendar.setup({
			inputField : inputName,
			ifFormat : "%Y-%m-%d %H:%M:00",
			showsTime : true,
			button : buttonId,
			step : 1
		});
	}
	
	function setCalendrMax(inputName,buttonId){
		Calendar.setup({
			inputField : inputName,
			ifFormat : "%Y-%m-%d %H:%M:00",
			showsTime : true,
			button : buttonId,
			step : 1
		});
	}
	</script>
<style type="text/css">
ul,li { margin:0px; padding:0px; list-style-type:none; }
ul.where { clear:both; }
ul.where li { float:left; }
</style>
</head>
<BODY>
<DIV id=page><div id="full_bg">
  <DIV id=outbox style="PADDING-TOP: 8px">
    <div class="content clearfix mt10px">
  <div class="title01 clearfix">
    <div class="title-l"></div>
    <div class="title-m">
      <div class="title-ico4"></div>
       报表管理</div>
    <div class="title-r"></div>
    <div class="title-r-cont"></div>
  </div>
  <div class="cont01">
    <ul class="dyhb pic-border clearfix c-main"><li>
        <form action="/xinlu/game/tdbbAction.html" method="get" name="frmTdbb" id="frmTdbb">
        <dk:showHidden pageId="tdbb" doAction="loadTdbb"/>
        <s:hidden name="crtYhm" id="crtYhm"></s:hidden>
        <div id="waiting" style="display:none; position:absolute; top: 200px; width: 60%; ">
          <div style="margin:0 auto; text-align:center; padding:20px 50px; width:200px; background-color:#FFFCDF; border: 2px solid #CFD3FF; line-height:50px;"> <b>正在加载数据，请稍候......</b> <img src="/image/waiting.gif" /> </div>
        </div>
        <div class="white-box" align="center"> <span style="color:#ff0000" id="tbs">本数据为缓存，请 <b id="tbt">04分22秒</b> 后选择条件重新查询。</span> </div>
          <input type="hidden" name="id" value="" />
          <DIV class=pr_top>
          <SPAN>开始时间：<s:textfield id="bgnDate" name="bgnDate" readonly="true" size="20"></s:textfield>
			 		<IMG id="imgBgnDate" style="cursor:pointer;" border=0 name="imgBgnDate" alt="Select Date" src="${_WarPath}/jsp/lsz/images/calendar2.gif">
			 	</SPAN>
			 	<SPAN>截止时间:</SPAN>
			 	<SPAN>
			 		<s:textfield id="endDate" name="endDate" readonly="true" size="20"></s:textfield>
				 	<IMG id="imgEndDate" style="cursor:pointer;" border=0 name="imgEndDate" alt="Select Date" src="${_WarPath}/jsp/lsz/images/calendar2.gif">
				 </SPAN>&nbsp;&nbsp;
            <input type="submit" value=" 刷 新 " style="cursor:hand"/>
          </DIV>
        </form>
        <form action="/xinlu/game/tdbbAction.html" method="post" id="frmTdbb" name="frmTdbb">
<dk:showHidden pageId="tdbb" doAction="loadTdbb"/>
          <TABLE class="mxtable tablepd tablelh" cellSpacing=1 cellPadding=0 width="100%" align=center border=0>
            <TBODY>
              <TR class=mxthead>
                <td class=mxthead>用户名</td>
                <td class=mxthead>所属组</td>
                <td class=mxthead>消费</td>
                <td class=mxthead>存款</td>
                <td class=mxthead>取款</td>
                <td class=mxthead>返点</td>
                <td class=mxthead>返奖</td>
                <td class=mxthead>盈利</td>
                <td class=mxthead>操作</td>
              </TR>
              <tr align="center">
		        <td bgcolor="#eeeeee">自己</td>
		        <td bgcolor="#FFFFFF"><s:property value="dqyhbb.ssz" />&nbsp;</td>
		        <td class="showtd" style="text-align:right;" bgcolor="#FFFFFF"><s:property value="dqyhbb.xf" />&nbsp;</td>
		        <td class="showtd" style="text-align:right;" bgcolor="#FFFFFF"><s:property value="dqyhbb.ck" />&nbsp;</td>
		        <td class="showtd" style="text-align:right;" bgcolor="#FFFFFF"><s:property value="dqyhbb.qk" />&nbsp;</td>
		        <td class="showtd" style="text-align:right;" bgcolor="#FFFFFF"><s:property value="dqyhbb.fd" />&nbsp;</td>
		        <td class="showtd" style="text-align:right;" bgcolor="#FFFFFF"><s:property value="dqyhbb.pj" />&nbsp;</td>
		        <td class="showtd" style="text-align:right;" bgcolor="#FFFFFF"><s:property value="dqyhbb.yl" />&nbsp;</td>
		        <td bgcolor="#FFFFFF"><a href="/xinlu/game/yxjlAction.html?pageId=yxjl&doAction=loadPage&yhm=<s:property value="dqyhbb.yhm"/>">游戏记录</a>&nbsp;</td>
		      </tr>
		      <s:iterator value="tdbbs" status="s">
			       <tr align="center" class="">
			        <td bgcolor="#eeeeee"><a href="/xinlu/game/tdbbAction.html?pageId=tdbb&doAction=loadPage&crtYhm=<s:property value="yhm" />&bgnDate=<s:property value="bgnDate" />&endDate=<s:property value="endDate" />"><s:property value="yhm" /></a>&nbsp;</td>
			        <td bgcolor="#FFFFFF" class=""><s:property value="ssz" />&nbsp;</td>
			        <td class="showtd " style="text-align:right;" bgcolor="#FFFFFF"><s:property value="xf" />&nbsp;</td>
			        <td class="showtd " style="text-align:right;" bgcolor="#FFFFFF"><s:property value="ck" />&nbsp;</td>
			        <td class="showtd " style="text-align:right;" bgcolor="#FFFFFF"><s:property value="qk" />&nbsp;</td>
			        <td class="showtd " style="text-align:right;" bgcolor="#FFFFFF"><s:property value="fd" />&nbsp;</td>
			        <td class="showtd " style="text-align:right;" bgcolor="#FFFFFF"><s:property value="pj" />&nbsp;</td>
			        <td class="showtd " style="text-align:right;" bgcolor="#FFFFFF"><s:property value="yl" />&nbsp;</td>
			        <td bgcolor="#FFFFFF"><a href="/xinlu/game/yxjlAction.html?pageId=yxjl&doAction=loadPage&yhm=<s:property value="yhm"/>">游戏记录</a>&nbsp;</td>
			      </tr>
		      </s:iterator>
		      <tr align="center">
		        <td bgcolor="#eeeeee">总计&nbsp;</td>
		        <td bgcolor="#FFFFFF">&nbsp;</td>
		        <td class="showtd" style="text-align:right;" bgcolor="#FFFFFF"><s:property value="bbzj.xf" />&nbsp;</td>
		        <td class="showtd" style="text-align:right;" bgcolor="#FFFFFF"><s:property value="bbzj.ck" />&nbsp;</td>
		        <td class="showtd" style="text-align:right;" bgcolor="#FFFFFF"><s:property value="bbzj.qk" />&nbsp;</td>
		        <td class="showtd" style="text-align:right;" bgcolor="#FFFFFF"><s:property value="bbzj.fd" />&nbsp;</td>
		        <td class="showtd" style="text-align:right;" bgcolor="#FFFFFF"><s:property value="bbzj.pj" />&nbsp;</td>
		        <td class="showtd" style="text-align:right;" bgcolor="#FFFFFF"><s:property value="bbzj.yl" />&nbsp;</td>
		        <td bgcolor="#FFFFFF">&nbsp;</td>
		     </tr>
    </table>
</form>
</li>
    </ul>
  </div>
</div>
  </DIV>
</DIV>
</BODY>
</HTML>